<template>
  <div class="container"></div>
</template>

<script>
export default {
  name: 'insuranceSwitch',
  data() {
    return {}
  },
  activated: function () {},
  created() {
    this.loginType = localStorage.getItem('loginType')
    if (this.loginType === 'QY') {
      this.$router.push({ name: 'insurance' })
    } else {
      this.$router.push({ name: 'insuranceList' })
    }
    this.$store.commit('CHANGE_SLIDER_NAME', {
      oldUrl: '/home/insurance/insuranceSwitch',
      newUrl: this.$router.currentRoute.fullPath,
    })
  },
}
</script>

<style scoped lang="less">
.container {
  padding: 24px;
}
</style>
